package com.xkstream.client.common;


import com.xkstream.client.BuildConfig;
import com.xkstream.client.api.API;

/**
 * Created by xiaoyi on 2017/6/6.
 */

public class AppConfig {
    private AppConfig() {
    }

    /**
     * 判断应用环境
     *
     * @return 生产环境 release 版本 true 其他环境 false
     */
    public static boolean isRelease() {
        if (!BuildConfig.DEBUG) {
            return true;
        }
        return false;
    }

    public static boolean isTest() {
        return !API.HOST.contains("www.legend8888.com");
    }

    public static boolean isJumpFromLive = false;


}
